home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / news / transport / cnews / patches / CR.D < prev    next >
Encoding:
Text File  |  1994-11-30  |  16.4 KB  |  672 lines

  1. Newsgroups: news.software.b
  2. Subject: C News patch CR.D
  3.  
  4. This is a patch for the C News Cleanup Release.  The distribution files
  5. on ftp.cs.toronto.edu and zoo.toronto.edu have been updated to match.
  6. See the README.changes diff below for what's been done.
  7.  
  8. start of patch CR.D
  9. (suggested archive name:  patchCR.D)
  10. apply with   patch -p0 <thisfile
  11.  
  12. Prereq: CR.C.
  13. *** README.mastercopy    Wed Nov 30 17:36:23 1994
  14. --- README    Wed Nov 30 17:07:30 1994
  15. ***************
  16. *** 1,4 ****
  17. ! Cleanup Release of C News, with patch CR.C.            Nov 1994
  18.   
  19.   The current C News distribution can be retrieved by anonymous FTP from
  20.   ftp.cs.toronto.edu (file pub/c-news/c-news.tar.Z) or ftp.zoo.toronto.edu
  21. --- 1,4 ----
  22. ! Cleanup Release of C News, with patch CR.D            Nov 1994
  23.   
  24.   The current C News distribution can be retrieved by anonymous FTP from
  25.   ftp.cs.toronto.edu (file pub/c-news/c-news.tar.Z) or ftp.zoo.toronto.edu
  26.  
  27.  
  28.  
  29. *** README.changes.mastercopy    Wed Nov 30 17:36:24 1994
  30. --- README.changes    Wed Nov 30 17:35:54 1994
  31. ***************
  32. *** 1,3 ****
  33. --- 1,16 ----
  34. + High points of patch CR.D:
  35. + This one's mostly a cleanup job on CR.B/CR.C.  The one really new item
  36. + is a queuelen appropriate to Taylor UUCP.  The master makefile has been
  37. + fixed to eliminate complaints from make, and to do the "patchchores"
  38. + checks itself so they can be done before fixing the subordinate makefiles.
  39. + The upact regression test has been fixed to pick up checkactive properly,
  40. + and to *pass* the resulting test; as a side effect, checkactive has acquired
  41. + a new option, -n.  A few more undesirable redeclarations of system functions
  42. + have been rooted out, and dostatfs.c has been beaten on a bit to make it
  43. + more likely to compile "straight out of the box" on Suns.  And I've started
  44. + what's going to be a long campaign of adding space around lines changed by
  45. + subst, so that they don't mess up patches.
  46.   High points of patch CR.C:
  47.   This is the second part of a two-part patch, the first being CR.B.  Install
  48.   both parts, this one second.  In this part...  A nasty bug in newsgroup
  49.  
  50.  
  51.  
  52. *** quiz.mastercopy    Wed Nov 30 17:36:25 1994
  53. --- quiz    Wed Nov 30 16:12:18 1994
  54. ***************
  55. *** 394,399 ****
  56. --- 394,400 ----
  57.   echo 'program.  C News knows about several versions:'
  58.   echo '    svr4    System V Release 4 uucp'
  59.   echo '    hdb    pre-SVR4 Honey DanBer, aka Basic Networking Utilities'
  60. + echo '    tay    Taylor UUCP, native mode'
  61.   echo '    sub    old uucp with subdirectories (e.g. /usr/spool/uucp/C.)'
  62.   echo '    vo    very old uucp, no subdirectories'
  63.   echo '    pre    prehistoric uucp, no subdirectories, no -g option on uux'
  64. ***************
  65. *** 402,411 ****
  66.   do
  67.       uucptype=`$ask 'Which one is most appropriate' ${uucptype-hdb}`
  68.       case "$uucptype" in
  69. !     sub|old)    echo 'Beware -- test "queuelen" to make sure it works.'    ;;
  70. !     esac
  71. !     case "$uucptype" in
  72. !     svr4|hdb|sub|old|pre|null)    break    ;;
  73.       esac
  74.       echo 'Sorry, no such choice is available.'
  75.   done
  76. --- 403,409 ----
  77.   do
  78.       uucptype=`$ask 'Which one is most appropriate' ${uucptype-hdb}`
  79.       case "$uucptype" in
  80. !     svr4|hdb|tay|sub|old|pre|null)    break    ;;
  81.       esac
  82.       echo 'Sorry, no such choice is available.'
  83.   done
  84.  
  85.  
  86.  
  87. *** makefile.mastercopy    Wed Nov 30 17:36:25 1994
  88. --- makefile    Wed Nov 30 16:05:16 1994
  89. ***************
  90. *** 108,119 ****
  91.   conf/liblist:    include/config.make
  92.       cd conf ; $(MAKE) liblist
  93.   
  94. - include/config.make:
  95. -     : "You must run 'quiz' before running 'make'."
  96. -     exit 1 ;
  97.   patchchores:
  98. !     cd conf ; $(MAKE) patchchores
  99.   
  100.   r:
  101.       $(INALL) "$(MAKE) r $(ROPT) && $(MAKE) rclean" $(RDIRS)
  102. --- 108,118 ----
  103.   conf/liblist:    include/config.make
  104.       cd conf ; $(MAKE) liblist
  105.   
  106.   patchchores:
  107. !     : if this fails, you have not installed all parts of a multi-part patch
  108. !     test " `cat conf/versionname | sed 's/^[^.]*\..//'`" = " " ;
  109. !     : delete files obsoleted by patches
  110. !     rm -f `cat conf/deadfiles`
  111.   
  112.   r:
  113.       $(INALL) "$(MAKE) r $(ROPT) && $(MAKE) rclean" $(RDIRS)
  114.  
  115.  
  116.  
  117. *** conf/versionname.mastercopy    Wed Nov 30 17:36:26 1994
  118. --- conf/versionname    Wed Nov 30 17:07:21 1994
  119. ***************
  120. *** 1 ****
  121. ! Cleanup Release, with patch CR.C
  122. --- 1 ----
  123. ! Cleanup Release, with patch CR.D
  124.  
  125.  
  126.  
  127. *** conf/subst.all.mastercopy    Wed Nov 30 17:36:26 1994
  128. --- conf/subst.all    Wed Nov 30 16:11:01 1994
  129. ***************
  130. *** 94,99 ****
  131. --- 94,100 ----
  132.   util/queuelen.hdb
  133.   util/queuelen.sub
  134.   util/queuelen.svr4
  135. + util/queuelen.tay
  136.   util/queuelen.vo
  137.   util/report
  138.   util/sfcproto
  139.  
  140.  
  141.  
  142. *** conf/makefile.mastercopy    Wed Nov 30 17:36:27 1994
  143. --- conf/makefile    Wed Nov 30 16:05:52 1994
  144. ***************
  145. *** 1,6 ****
  146. --- 1,8 ----
  147.   # =()<@<INCLUDE>@>()=
  148.   .include "../include/config.make"
  149.   
  150.   A=$(NEWSARTS)
  151.   C=$(NEWSCTL)
  152.   NDIRS=$(A) $(A)/in.coming $(A)/in.coming/bad $(A)/out.master $(C) $(C)/bin
  153. ***************
  154. *** 11,22 ****
  155.   
  156.   all:    $(ALL)
  157.       $(MX) report.ctl config
  158. - patchchores:
  159. -     : if this fails, you have not installed all parts of a multi-part patch
  160. -     test " `cat versionname | sed 's/^[^.]*\..//'`" = " " ;
  161. -     : delete files obsoleted by patches
  162. -     cd .. ; rm -f `cat conf/deadfiles` conf/dummy
  163.   
  164.   install:    $(ALL)
  165.   
  166. --- 13,18 ----
  167.  
  168.  
  169.  
  170. *** doc/problems.mastercopy    Wed Nov 30 17:36:27 1994
  171. --- doc/problems    Wed Nov 30 16:08:45 1994
  172. ***************
  173. *** 1102,1104 ****
  174. --- 1102,1109 ----
  175.   This breaks \fIupact\fR; the \fIupact\fR regression test catches this.
  176.   Steve Robbins found this and posted a fix;
  177.   it's too long to reproduce here.
  178. + See:
  179. + .DS
  180. + ftp://ftp.cim.mcgill.ca/pub/people/steve/pc/linux/join
  181. + .DE
  182. + Textutils 1.11 reportedly has fixed this.
  183.  
  184.  
  185.  
  186. *** expire/makefile.mastercopy    Wed Nov 30 17:36:28 1994
  187. --- expire/makefile    Wed Nov 30 16:30:25 1994
  188. ***************
  189. *** 1,6 ****
  190. --- 1,8 ----
  191.   # =()<@<INCLUDE>@>()=
  192.   .include "../include/config.make"
  193.   
  194.   BINS=expire
  195.   PROGS=$(BINS) upact doexpire expireiflow
  196.   DEST=$(NEWSBIN)/expire
  197. ***************
  198. *** 55,61 ****
  199.       rm -f $@
  200.       egrep -v '^unused' explist.regw >$@
  201.   
  202. ! UTILS=../util/dbz ../util/mkpdir
  203.   
  204.   ../util/dbz:
  205.       cd ../util ; $(MAKE) dbz
  206. --- 57,64 ----
  207.       rm -f $@
  208.       egrep -v '^unused' explist.regw >$@
  209.   
  210. ! UTILS=../util/dbz ../util/mkpdir ../maint/checkactive ../util/gngp
  211. ! AUTILS=../util/canonsys.awk ../util/namecheck.awk
  212.   
  213.   ../util/dbz:
  214.       cd ../util ; $(MAKE) dbz
  215. ***************
  216. *** 63,68 ****
  217. --- 66,77 ----
  218.   ../util/mkpdir:
  219.       cd ../util ; $(MAKE) mkpdir
  220.   
  221. + ../util/gngp:
  222. +     cd ../util ; $(MAKE) gngp
  223. + ../maint/checkactive:
  224. +     cd ../maint ; $(MAKE) checkactive
  225.   BARFS=active.barf active.nobarf
  226.   AB=active.$(UPACTBARF)barf
  227.   
  228. ***************
  229. *** 73,104 ****
  230.       touch $@
  231.   
  232.   # setup for regression test
  233. ! rsetup:    $(PROGS) $(UTILS) explist.reg explist.regw $(BARFS)
  234.       $(MX) $(PROGS) dircheck
  235.       >history.pag
  236.       >history.dir
  237.       mkdir bin
  238. !     cp ../util/dbz ../util/mkpdir bin
  239.       echo 'exit 0' >bin/lock
  240.       echo 'exit 0' >bin/unlock
  241.       echo 'echo 10' >bin/spacefor
  242.       $(MX) bin/*
  243.       mkdir arts arts/foo arts/bar arts/bar/ugh arts/urp arch arch2
  244.       mkdir arts/mod arts/mod/mod arts/mod/unmod arch3 arch3/bletch
  245.       mkdir arts/bletch arts/lost+found arts/barf arts/barf/puke
  246. !     echo 'foo 00103 00000 y ' >>active
  247.       echo 'foo 00103 00098 y' >>active.after
  248. !     echo 'bar 00099 00000 m' >>active
  249.       echo 'bar 00099 00100 m' >>active.after
  250. !     echo 'bar.ugh 00099 00000 m' >>active
  251.       echo 'bar.ugh 00099 00099 m' >>active.after
  252. !     echo 'urp 00099 00000 n' >>active
  253.       echo 'urp 00099 00007 n' >>active.after
  254. !     echo 'mod.mod 00013 00000 m' >>active
  255.       echo 'mod.mod 00013 00013 m' >>active.after
  256. !     echo 'mod.unmod 00016 00000 y' >>active
  257.       echo 'mod.unmod 00016 00016 y' >>active.after
  258. !     echo 'bletch 00099 00000 y' >>active
  259.       echo 'bletch 00099 00100 y' >>active.after
  260.       cat $(AB) >>active
  261.       cat $(AB) >>active.after
  262. --- 82,116 ----
  263.       touch $@
  264.   
  265.   # setup for regression test
  266. ! rsetup:    $(PROGS) $(UTILS) $(AUTILS) explist.reg explist.regw $(BARFS)
  267.       $(MX) $(PROGS) dircheck
  268.       >history.pag
  269.       >history.dir
  270.       mkdir bin
  271. !     cp $(UTILS) bin
  272.       echo 'exit 0' >bin/lock
  273.       echo 'exit 0' >bin/unlock
  274.       echo 'echo 10' >bin/spacefor
  275. +     echo 'echo fred' >bin/newshostname
  276.       $(MX) bin/*
  277. +     cp $(AUTILS) .
  278. +     echo "ME:all" >sys
  279.       mkdir arts arts/foo arts/bar arts/bar/ugh arts/urp arch arch2
  280.       mkdir arts/mod arts/mod/mod arts/mod/unmod arch3 arch3/bletch
  281.       mkdir arts/bletch arts/lost+found arts/barf arts/barf/puke
  282. !     echo 'foo 00103 00001 y ' >>active
  283.       echo 'foo 00103 00098 y' >>active.after
  284. !     echo 'bar 00099 00001 m' >>active
  285.       echo 'bar 00099 00100 m' >>active.after
  286. !     echo 'bar.ugh 00099 00001 m' >>active
  287.       echo 'bar.ugh 00099 00099 m' >>active.after
  288. !     echo 'urp 00099 00001 n' >>active
  289.       echo 'urp 00099 00007 n' >>active.after
  290. !     echo 'mod.mod 00013 00001 m' >>active
  291.       echo 'mod.mod 00013 00013 m' >>active.after
  292. !     echo 'mod.unmod 00016 00001 y' >>active
  293.       echo 'mod.unmod 00016 00016 y' >>active.after
  294. !     echo 'bletch 00099 00001 y' >>active
  295.       echo 'bletch 00099 00100 y' >>active.after
  296.       cat $(AB) >>active
  297.       cat $(AB) >>active.after
  298. ***************
  299. *** 222,228 ****
  300.       rm -f junk history history.pag history.dir history.o active active.tmp
  301.       rm -f history.n* *mon.out history.proto history.after test.out doit
  302.       rm -f active.old active.new explist.reg lint active.after test.stderr
  303. !     rm -f active.errs explist.regw $(BARFS)
  304.       rm -rf arts arch arch2 arch3 bin
  305.   
  306.   clean:    rclean
  307. --- 234,240 ----
  308.       rm -f junk history history.pag history.dir history.o active active.tmp
  309.       rm -f history.n* *mon.out history.proto history.after test.out doit
  310.       rm -f active.old active.new explist.reg lint active.after test.stderr
  311. !     rm -f active.errs explist.regw $(BARFS) canonsys.awk namecheck.awk sys
  312.       rm -rf arts arch arch2 arch3 bin
  313.   
  314.   clean:    rclean
  315.  
  316.  
  317.  
  318. *** expire/upact.mastercopy    Wed Nov 30 17:36:29 1994
  319. --- expire/upact    Wed Nov 30 16:45:41 1994
  320. ***************
  321. *** 1,9 ****
  322. --- 1,13 ----
  323.   #! /bin/sh
  324.   # Update 3rd field (minimum art. #) of a 4-field active file.
  325.   
  326.   # =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
  327.   . ${NEWSCONFIG-/etc/news/bin/config}
  328.   
  329.   PATH=$NEWSCTL/bin:$NEWSBIN/maint:$NEWSBIN:$NEWSPATH ; export PATH
  330.   umask $NEWSUMASK
  331.   
  332. ***************
  333. *** 29,35 ****
  334.   cd $NEWSCTL
  335.   
  336.   # check out the active file
  337. ! checkactive -q >active.eek
  338.   if test -s active.eek
  339.   then
  340.       echo "$0: problems in active file -- aborting" >&2
  341. --- 33,39 ----
  342.   cd $NEWSCTL
  343.   
  344.   # check out the active file
  345. ! checkactive -n -q >active.eek
  346.   if test -s active.eek
  347.   then
  348.       echo "$0: problems in active file -- aborting" >&2
  349.  
  350.  
  351.  
  352. *** libc/getreldate.c.mastercopy    Wed Nov 30 17:36:29 1994
  353. --- libc/getreldate.c    Tue Nov 29 12:51:23 1994
  354. ***************
  355. *** 32,37 ****
  356. --- 32,38 ----
  357.   #include <time.h>
  358.   #include <sys/types.h>
  359.   #include <sys/timeb.h>
  360. + #include <stdlib.h>
  361.   
  362.   #include "datetok.h"
  363.   #include "dateconv.h"
  364. ***************
  365. *** 40,46 ****
  366.   
  367.   #define MAXDATEFIELDS 50
  368.   
  369. - extern long atol();
  370.   extern time_t time();
  371.   extern datetkn datereltoks[];
  372.   extern unsigned int szdatereltoks;
  373. --- 41,46 ----
  374.  
  375.  
  376.  
  377. *** libdbz/fake.c.mastercopy    Wed Nov 30 17:36:30 1994
  378. --- libdbz/fake.c    Tue Nov 29 12:52:14 1994
  379. ***************
  380. *** 8,13 ****
  381. --- 8,14 ----
  382.   #include <sys/types.h>
  383.   #include <sys/stat.h>
  384.   #include <string.h>
  385. + #include <stdlib.h>
  386.   
  387.   #define    MAXSTR    500        /* For sizing strings -- DON'T use BUFSIZ! */
  388.   #define    STREQ(a, b)    (*(a) == *(b) && strcmp((a), (b)) == 0)
  389. ***************
  390. *** 45,51 ****
  391.       extern char *optarg;
  392.       void process();
  393.       register long no;
  394. -     extern long atol();
  395.       char line[MAXSTR];
  396.   
  397.       progname = argv[0];
  398. --- 46,51 ----
  399.  
  400.  
  401.  
  402. *** libdbz/dbzmain.c.mastercopy    Wed Nov 30 17:36:31 1994
  403. --- libdbz/dbzmain.c    Wed Nov 30 16:26:49 1994
  404. ***************
  405. *** 8,13 ****
  406. --- 8,14 ----
  407.   #include <sys/types.h>
  408.   #include <sys/stat.h>
  409.   #include <string.h>
  410. + #include <stdlib.h>
  411.   #include <dbz.h>
  412.   
  413.   #ifdef FUNNYSEEKS
  414. ***************
  415. *** 80,87 ****
  416.   #define    rfc822ize(n)    (n)
  417.   #endif
  418.   
  419. - extern char *malloc();
  420.   /*
  421.    - main - parse arguments and handle options
  422.    */
  423. --- 81,86 ----
  424. ***************
  425. *** 94,100 ****
  426.       extern int optind;
  427.       extern char *optarg;
  428.       int doruns = 0;
  429. -     extern long atol();
  430.   
  431.       progname = argv[0];
  432.   
  433. --- 93,98 ----
  434.  
  435.  
  436.  
  437. *** maint/checkactive.mastercopy    Wed Nov 30 17:36:31 1994
  438. --- maint/checkactive    Wed Nov 30 16:41:27 1994
  439. ***************
  440. *** 2,18 ****
  441. --- 2,24 ----
  442.   # checkactive - check an active file for worrisome signs
  443.   # checkactive file
  444.   
  445.   # =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
  446.   . ${NEWSCONFIG-/etc/news/bin/config}
  447.   
  448.   PATH=$NEWSCTL/bin:$NEWSBIN:$NEWSPATH ; export PATH
  449.   umask $NEWSUMASK
  450.   
  451.   quick=n
  452. + numok=n
  453.   for dummy
  454.   do
  455.       case "$1" in
  456.       -q)    quick=y        ;;
  457. +     -n)    numok=y        ;;
  458.       --)    shift ; break    ;;
  459.       -*)    echo "$0: unknown option \`$1'" >&2 ; exit 2    ;;
  460.       *)    break        ;;
  461. ***************
  462. *** 36,41 ****
  463. --- 42,53 ----
  464.       exit
  465.   fi
  466.   
  467. + case "$numok" in
  468. + y)    numcheck=    ;;
  469. + n)    numcheck='0+$3 == 0 { print where, "field 3 is zero" ; status = 1 }
  470. +         1+$2 < 0+$3 { print where, q $2 q, "<", q $3 q ; status = 1 }'
  471. +     ;;
  472. + esac
  473.   awk 'BEGIN { status = 0 ; q = "\"" }
  474.   { where = "line " NR ":" }
  475.   NF != 4 { print where, "has", NF, "not 4 fields" ; status = 1 }
  476. ***************
  477. *** 48,55 ****
  478.   $4 !~ /^([ynmx]|=.*)$/ {
  479.       print where, "field 4 (" q $4 q ") invalid" ; status = 1
  480.   }
  481. ! 0+$3 < 1 { print where, "field 3 (" q $3 q ") zero or negative" ; status = 1 }
  482. ! 1+$2 < 0+$3 { print where, q $2 q, "<", q $3 q ; status = 1 }
  483.   END { exit status }' $file || exit
  484.   
  485.   awk '{print $1}' $file | sort | uniq -d >$tmp
  486. --- 60,66 ----
  487.   $4 !~ /^([ynmx]|=.*)$/ {
  488.       print where, "field 4 (" q $4 q ") invalid" ; status = 1
  489.   }
  490. ! '"$numcheck"'
  491.   END { exit status }' $file || exit
  492.   
  493.   awk '{print $1}' $file | sort | uniq -d >$tmp
  494.  
  495.  
  496.  
  497. *** man/checkactive.8.mastercopy    Wed Nov 30 17:36:32 1994
  498. --- man/checkactive.8    Wed Nov 30 16:43:36 1994
  499. ***************
  500. *** 4,10 ****
  501.   .ds b /usr/libexec/news
  502.   .\" =()<.ds c @<NEWSCTL>@>()=
  503.   .ds c /etc/news
  504. ! .TH CHECKACTIVE 8CN "9 Nov 1994"
  505.   .BY "C News"
  506.   .SH NAME
  507.   checkactive \- check format of news active file
  508. --- 4,13 ----
  509.   .ds b /usr/libexec/news
  510.   .\" =()<.ds c @<NEWSCTL>@>()=
  511.   .ds c /etc/news
  512. ! .\"
  513. ! .\"
  514. ! .\"
  515. ! .TH CHECKACTIVE 8CN "30 Nov 1994"
  516.   .BY "C News"
  517.   .SH NAME
  518.   checkactive \- check format of news active file
  519. ***************
  520. *** 12,17 ****
  521. --- 15,22 ----
  522.   .B checkactive
  523.   [
  524.   .B \-q
  525. + ] [
  526. + .B \-n
  527.   ] [ file ]
  528.   .SH DESCRIPTION
  529.   .I Checkactive
  530. ***************
  531. *** 25,30 ****
  532. --- 30,42 ----
  533.   .I sys
  534.   file.
  535.   Complaints, if any, are produced on standard output.
  536. + .PP
  537. + The
  538. + .B \-n
  539. + (numeric fields okay)
  540. + option suppresses checking of the relationship between the two middle
  541. + (numeric) fields,
  542. + for the case where they are about to be rebuilt.
  543.   .PP
  544.   The
  545.   .B \-q
  546.  
  547.  
  548.  
  549. *** notebook/makefiles.mastercopy    Wed Nov 30 17:36:33 1994
  550. --- notebook/makefiles    Wed Nov 30 16:15:45 1994
  551. ***************
  552. *** 1,4 ****
  553. ! .DA "28 Aug 1994"
  554.   .TL
  555.   C News Makefiles
  556.   .AU
  557. --- 1,4 ----
  558. ! .DA "30 Nov 1994"
  559.   .TL
  560.   C News Makefiles
  561.   .AU
  562. ***************
  563. *** 82,87 ****
  564. --- 82,92 ----
  565.   # =(\&)<@<INCLUDE>@>()=
  566.   include ../include/config.make
  567.   .DE
  568. + To avoid problems with context during patches, these lines should
  569. + preferably be followed by three blank lines
  570. + (and likewise preceded by three blank lines,
  571. + if there is anything before them).
  572. + .PP
  573.   Among the definitions in the makefile header
  574.   are the standard C News pathname variables (NEWSARTS, NEWSOV, etc.).
  575.   There are a number of others:
  576.  
  577.  
  578.  
  579. *** util/getabsdate.c.mastercopy    Wed Nov 30 17:36:33 1994
  580. --- util/getabsdate.c    Tue Nov 29 12:56:12 1994
  581. ***************
  582. *** 7,12 ****
  583. --- 7,13 ----
  584.   #include <time.h>
  585.   #include <sys/types.h>
  586.   #include <sys/timeb.h>
  587. + #include <stdlib.h>
  588.   
  589.   /* privates */
  590.   static struct timeb ftnow;
  591. ***************
  592. *** 15,22 ****
  593.   char *progname;
  594.   
  595.   /* imports */
  596. - extern long atol();
  597. - extern char *malloc();
  598.   extern struct tm *gmtime();
  599.   extern time_t time();
  600.   extern int optind;
  601. --- 16,21 ----
  602.  
  603.  
  604.  
  605. *** util/queuelen.tay.mastercopy    Wed Nov 30 17:36:33 1994
  606. --- util/queuelen.tay    Wed Nov 30 16:10:47 1994
  607. ***************
  608. *** 0 ****
  609. --- 1,10 ----
  610. + #! /bin/sh
  611. + # Find size of current queue of news outbound to $1.  Taylor version.
  612. + # =()<. ${NEWSCONFIG-@<NEWSCONFIG>@}>()=
  613. + . ${NEWSCONFIG-/etc/news/bin/config}
  614. + PATH=$NEWSCTL/bin:$NEWSBIN:$NEWSPATH ; export PATH
  615. + umask $NEWSUMASK
  616. + uustat -s $1 -c rnews | wc -l
  617.  
  618.  
  619.  
  620. *** util/dostatfs.c.mastercopy    Wed Nov 30 17:36:34 1994
  621. --- util/dostatfs.c    Mon Nov 28 17:51:53 1994
  622. ***************
  623. *** 22,27 ****
  624. --- 22,28 ----
  625.   #endif
  626.   #ifdef sun
  627.   #include <sys/vfs.h>
  628. + #define    UNIT    f_bsize
  629.   #endif
  630.   #ifdef _AIX
  631.   #include <sys/statfs.h>
  632.  
  633.  
  634.  
  635. *** util/dowhatever.c.mastercopy    Wed Nov 30 17:36:34 1994
  636. --- util/dowhatever.c    Tue Nov 29 12:42:31 1994
  637. ***************
  638. *** 24,31 ****
  639.       extern int optind;
  640.       extern char *optarg;
  641.       long spacefor();
  642. -     extern long atol();
  643. -     extern double atof();
  644.       register long n;
  645.   
  646.       progname = argv[0];
  647. --- 24,29 ----
  648.  
  649.  
  650.  
  651.